QuickTime 3 Reference

Previous | Chapter Top | Chapter Contents | Next

Tween Record

QuickTime maintains a tween record structure that is provided to your tween component's TweenDoTween method. The TweenRecord structure is defined as follows.

typedef struct TweenRecord TweenRecord;
struct TweenRecord {
    long                    version;
    QTAtomContainer         container;
    QTAtom                  tweenAtom;
    QTAtom                  dataAtom;
    Fixed                   percent;
    TweenerDataUPP          dataProc;
    void *                  private1;
    void *                  private2;
};
version
The version number of this structure. This field is initialized to 0.
container
The atom container that contains the tween data.
tweenAtom
The atom for this tween entry's data in the container.
percent
The percentage by which to change the data.
dataProc
The procedure the tween component calls to send the tweened value to the receiving track.
private1
Reserved.
private2
Reserved.

© 1997 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next